package com.wsz.system.service;

import com.wsz.system.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.system.pojo.UserRole;

import java.util.List;
import java.util.Map;

/**
* @author wangs
* @description 针对表【sys_role(角色)】的数据库操作Service
* @createDate 2022-11-07 21:02:33
*/
public interface RoleService extends IService<Role> {

    Map<String,Object> getRolesByUserId(String id);

    void removeSysUserRole(String userId);

    void saveSysUserRole(List<UserRole> userRoleList);
}
